package singleton;

public class Test {
	public static void main(String[] args) {
		System.out.println("let's start.");
		Singleton s1 = Singleton.getInstance();
		Singleton s2 = Singleton.getInstance();
		if(s1 == s2) {
			System.out.println("they are the same instance.");
		}
		else {
			System.out.println("they are different");
		}
		System.out.println("end.");
	}
}
